package com.example.nonacademic_education.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author xinmiao
 * @description
 * @date 2023/3/28 11:46
 */
public interface UserDao {
    String findAuthorityByUsername(String username);

    @Select("select name from admin where id=#{userId}")
    String getNameById(Long userId);
}
